export const permissions = [{
    name: '订单管理',
    url: '/main/wxs/order',
    children: [{
        name: '订单',
        url: '/main/wxs/order'
      },
      {
        name: '派单',
        url: '/main/wxs/send-order',
      },
      // {
      //   name: '待处理订单',
      //   url: '/main/wxs/untreated',
      // },
    ]
  },
  {
    name: '维修师管理',
    url: '/main/wxs/engineerManagement',
  },
  {
    name: '报表统计',
    url: '/main/wxs/or',
    children: [
      // {
      //   name: '成交订单统计',
      //   url: '/main/wxs/deal'
      // },
      {
        name: '订单量统计',
        url: '/main/wxs/order-statistics'
      },
      {
        name: '订单返修率',
        url: '/main/wxs/order-repair-rate'
      },
    ]
  },
  {
    name: '仓库管理',
    url: '/main/ck/procurement',
    children: [{
        name: '商品采购',
        url: '/main/ck/procurement'
      },
      {
        name: '物料申请',
        url: '/main/ck/apply'
      }
    ]
  },
  {
    name: '系统管理',
    url: '/main/sys/user',
    children: [{
        name: '员工管理',
        url: '/main/sys/user'
      },
      {
        name: '部门管理',
        url: '/main/sys/departmentManage'
      }
    ]
  },
  {
    name: '参数',
    url: '/main/wxs/params',
  },
  // {
  //   name: '日志',
  //   url: '/main/wxs/journal'
  // },
  // {
  //   name: '用户管理',
  //   url: '/main/wxs/user',
  //   children: [{
  //       name: '评论',
  //       url: '/main/wxs/comment',
  //     },
  //     {
  //       name: '反馈',
  //       url: '/main/wxs/feedback',
  //     },
  //   ]
  // },
]

export default status = [{
  adminStatusNo: "U",
  adminStatusName: "待处理"
}, {
  adminStatusNo: "12",
  adminStatusName: "已完成"
}, {
  adminStatusNo: "Q",
  adminStatusName: "已取消"
}, {
  adminStatusNo: "N",
  adminStatusName: "无效订单"
}, {
  adminStatusNo: "F",
  adminStatusName: "维修失败"
}, {
  adminStatusNo: "13",
  adminStatusName: "超时完成"
}, {
  adminStatusNo: "14",
  adminStatusName: "售后"
}, {
  adminStatusNo: "02",
  adminStatusName: "派单"
}, {
  adminStatusNo: "03",
  adminStatusName: "已出发"
}, {
  adminStatusNo: "04",
  adminStatusName: "维修中"
}, {
  adminStatusNo: "05",
  adminStatusName: "维修成功"
}, {
  adminStatusNo: "06",
  adminStatusName: "已支付"
}]
